<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="register.aspx.vb" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<meta name="keywords" content="songs, lyrics, chords, bands, guitar, music, artists, register" />
<meta name="description" content="Register free as a user on the YobboGuitar site" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Author" content="Dr Martin Moxham" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<h1>
        Site Registration</h1>
        <div id="div_alreadyRegistered" runat="server" visible="false" class="errorText"><p>A user is already registered with this email address.  An email has been sent to this address to allow the password to be reset.</p></div>
    <asp:Table ID="Table1" runat="server">
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="Label1" runat="server" Text="Email address"></asp:Label></asp:TableCell><asp:TableCell>
                    <asp:TextBox ID="textBox_userEmailAddress" runat="server"></asp:TextBox></asp:TableCell></asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="Label2" runat="server" Text="Password" ></asp:Label></asp:TableCell><asp:TableCell>
                    <asp:TextBox ID="textBox_password" runat="server" TextMode="Password"></asp:TextBox></asp:TableCell></asp:TableRow>
                   <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="Label3" runat="server" Text="Nickname" ></asp:Label></asp:TableCell><asp:TableCell>
                    <asp:TextBox ID="textBox_nickName" runat="server" ></asp:TextBox></asp:TableCell></asp:TableRow>
    </asp:Table>
    <p runat="server" id="p_nicknameError" visible="false" style="color:Red">Sorry, but the nickname that you have selected is already taken.  Please choose another.</p>
    <asp:Button ID="button_register" runat="server" Text="Register" />
    <asp:LinkButton ID="LinkButton_returnToHomePage" runat="server" Visible="False" 
        PostBackUrl="~/home.aspx">Return to home page</asp:LinkButton></asp:Content>

